home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / violencia / Brink_of_Alienation_2.swf / scripts / DefineButton2_557 / BUTTONCONDACTION on(release).as
Text File  |  2006-01-11  |  3KB  |  111 lines

  1. on(release){
  2.    if(_root.checkpoint == 9)
  3.    {
  4.       tellTarget("_root")
  5.       {
  6.          gotoAndStop("checkpointi");
  7.          _root.continues -= 1;
  8.          _root.cont._visible = false;
  9.          _root.cont.gotoAndStop(1);
  10.          _root.health = 100;
  11.          _root.grenade = 3;
  12.       }
  13.    }
  14.    else if(_root.checkpoint == 8)
  15.    {
  16.       tellTarget("_root")
  17.       {
  18.          gotoAndStop("checkpointh");
  19.          _root.continues -= 1;
  20.          _root.cont._visible = false;
  21.          _root.cont.gotoAndStop(1);
  22.          _root.health = 100;
  23.          _root.grenade = 3;
  24.       }
  25.    }
  26.    else if(_root.checkpoint == 7)
  27.    {
  28.       tellTarget("_root")
  29.       {
  30.          gotoAndStop("checkpointg");
  31.          _root.continues -= 1;
  32.          _root.cont._visible = false;
  33.          _root.cont.gotoAndStop(1);
  34.          _root.health = 100;
  35.          _root.grenade = 3;
  36.       }
  37.    }
  38.    else if(_root.checkpoint == 6)
  39.    {
  40.       tellTarget("_root")
  41.       {
  42.          gotoAndStop("checkpointf");
  43.          _root.continues -= 1;
  44.          _root.cont._visible = false;
  45.          _root.cont.gotoAndStop(1);
  46.          _root.health = 100;
  47.          _root.grenade = 3;
  48.       }
  49.    }
  50.    else if(_root.checkpoint == 5)
  51.    {
  52.       tellTarget("_root")
  53.       {
  54.          gotoAndStop("checkpointe");
  55.          _root.continues -= 1;
  56.          _root.cont._visible = false;
  57.          _root.cont.gotoAndStop(1);
  58.          _root.health = 100;
  59.          _root.grenade = 3;
  60.       }
  61.    }
  62.    else if(_root.checkpoint == 4)
  63.    {
  64.       tellTarget("_root")
  65.       {
  66.          gotoAndStop("checkpointd");
  67.          _root.continues -= 1;
  68.          _root.cont._visible = false;
  69.          _root.cont.gotoAndStop(1);
  70.          _root.health = 100;
  71.          _root.grenade = 3;
  72.       }
  73.    }
  74.    else if(_root.checkpoint == 3)
  75.    {
  76.       tellTarget("_root")
  77.       {
  78.          gotoAndStop("checkpointc");
  79.          _root.continues -= 1;
  80.          _root.cont._visible = false;
  81.          _root.cont.gotoAndStop(1);
  82.          _root.health = 100;
  83.          _root.grenade = 3;
  84.       }
  85.    }
  86.    else if(_root.checkpoint == 2)
  87.    {
  88.       tellTarget("_root")
  89.       {
  90.          gotoAndStop("checkpointb");
  91.          _root.continues -= 1;
  92.          _root.cont._visible = false;
  93.          _root.cont.gotoAndStop(1);
  94.          _root.health = 100;
  95.          _root.grenade = 3;
  96.       }
  97.    }
  98.    else if(_root.checkpoint == 1)
  99.    {
  100.       tellTarget("_root")
  101.       {
  102.          gotoAndStop("checkpointa");
  103.          _root.continues -= 1;
  104.          _root.cont._visible = false;
  105.          _root.cont.gotoAndStop(1);
  106.          _root.health = 100;
  107.          _root.grenade = 3;
  108.       }
  109.    }
  110. }
  111.